'use strict';

stareal
    .controller("ActiveAwardController", function ($scope, $stateParams, $api, $sce, base64, $state, $alert,localStorageService,$lazyLoader) {
        if($stateParams.app==1){
            $scope.titleStatus=true;
        }
        $api.get("app/activity/winExplain", {id:$stateParams.id}, true)
            .then(function (ret) {
                var data = ret.data;
                var dataWinExplain=ret.winExplain;
                $scope.winExplains=data;
                dataWinExplain= $sce.trustAsHtml(dataWinExplain);
                $scope.winExplainContent=dataWinExplain;
                console.log(data);
            })
    })